#include<iostream>
#include<vector>
#include<string>
using namespace std;

void calcularCRC(string frase)
{
 
}
int main()
{
    string frase;
    cin >> frase;
    while(frase != "#")
    {
	calcularCRC(frase);
	cin>>frase;
    }
}